{% extends 'TopxiaWebBundle::layout.html.twig' %}

{% block title %}{{ classroom.title }} - {{ parent() }}{% endblock %}
{% block keywords %} {{classroom.title}} {% endblock %}
{% do load_script('classroombundle/controller/classroom/unjoin') %}


{% block top_content %}

{{ render(controller('ClassroomBundle:Classroom:header',{classroomId:classroom.id,previewAs:app.request.get('previewAs')|default("")})) }}

{% endblock %}

{% block content %}
  {% include 'ClassroomBundle:Classroom:content-layout.html.twig' %}
{% endblock %}